<div class="head-nav">
    <div class="nav-left">
        <div style="display: <%= user != null ? 'none' : 'block' %>;">
            <a href="javascript:jumpPage('/user')">请登录</a>
            <a href="javascript:jumpPage('/user/register')">免费注册</a>
        </div>
        <div style="display: <%= user != null ? 'block' : 'none' %>;">
            <a href=""><%= user %></a>
            <a href="/user/signout">退出</a>
        </div>
    </div>
    <div class="nav-right">
        <!--<a href="/goods/getGoods?goodsId=597adcf39addc24951e45768">获得商品</a>-->
        <a href="/goods/allGoods">商城首页</a>
        <a href="">我的商城</a>
        <a href="">
            <span class="glyphicon glyphicon-shopping-cart" style="color: #fff"></span>
            购物车(0)</a>
        <a class="admin" href="/goods" style="display: <%= admin == 2 ? "block" : "none" %>;">商品管理中心</a>
    </div>
</div>
